package com.shelpe.services.simbasync.dao;

import com.shelpe.services.simbasync.model.Creatives;
import com.shelpe.services.simbasync.model.CreativesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CreativesMapper {
    int countByExample(CreativesExample example);

    int deleteByExample(CreativesExample example);

    int deleteByPrimaryKey(Long creativeId);

    int insert(Creatives record);
    
    int insertBatch(List<Creatives> list);

    int insertSelective(Creatives record);

    List<Creatives> selectByExample(CreativesExample example);

    Creatives selectByPrimaryKey(Long creativeId);

    int updateByExampleSelective(@Param("record") Creatives record, @Param("example") CreativesExample example);

    int updateByExample(@Param("record") Creatives record, @Param("example") CreativesExample example);

    int updateByPrimaryKeySelective(Creatives record);

    int updateByPrimaryKey(Creatives record);
}